@layout("/common/_container.html",{js:["/assets/basic/basicPositionmaterial/basicPositionmaterial.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">库位物料表管理</span>
</div>

<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-form toolbar">
                        <div class="layui-form-item">
                            <div class="layui-inline">
		                        <select id="positionAreaId">
		                            <option value="">选择库区</option>
		                            @for(item in alist!){
		                            <option value="${item.id}">${item.areaName}</option>
		                            @}
		                        </select>
                            </div>
				            <div class="layui-inline">
				                <input id="condition" class="layui-input" type="text" placeholder="库位编号"/>
				            </div>
				            <div class="layui-inline">
				                <button id="btnSearchPosition" class="layui-btn icon-btn"><i class="layui-icon">&#xe615;</i>搜索</button>
				                <button id="btnAssign" class="layui-btn layui-btn-normal"><i class="layui-icon">&#xe642;</i>批量分配物料</button>
				            </div>
                        </div>
                    </div>
                    <table class="layui-table" id="basicPositionTable" lay-filter="basicPositionTable"></table>
                    <table class="layui-table" id="basicPositionmaterialTable" lay-filter="basicPositionmaterialTable"></table>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/html" id="tableBar">
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>
</script>
<script type="text/html" id="toolbarfrom">
            <div class="layui-inline">
                <input id="condition2" class="layui-input" type="text" placeholder="物料编码/描述"/>
            </div>
            <div class="layui-inline">
                <button id="btnSearch" class="layui-btn icon-btn"><i class="layui-icon">&#xe615;</i>搜索</button>
            </div>
</script>



@}